package xyz.wanwanwan.www.hrm.service;

import xyz.wanwanwan.www.hrm.domain.CourseType;
import com.baomidou.mybatisplus.service.IService;
import xyz.wanwanwan.www.hrm.vo.CourseVo;

import java.util.List;

/**
 * <p>
 * 课程目录 服务类
 * </p>
 *
 * @author Mr.Fu
 * @since 2020-09-11
 */
public interface ICourseTypeService extends IService<CourseType> {
    /**
     * 课程类型分级菜单查询
     * @return
     */
    List<CourseType> treeData();

    /**
     * 面包屑查询课程类型
     * @param productTypeId
     * @return
     */
    List<CourseVo> crumbs(Long productTypeId);
}
